<template>
  <div class="home-view">
    <div id="container" style="width: 100%; height: 100%;"></div>
  </div>
</template>
<script setup lang='ts' name="HomeView">
import { onMounted } from 'vue';
import YlyDrawGraph from '@/utils/antv-utils/antv-utils'

onMounted(() => {
  const ylyDrawGraph = new YlyDrawGraph(document.getElementById('container') as HTMLElement);
  ylyDrawGraph.renderGraph()
});
</script>
<style lang='scss'>
.home-view {
  width: 100%;
  height: 100%;
}
</style>